<div class="Huialert Huialert-success"><i class="icon-remove"></i>鼠标移开，自动保存更改</div>
<article class="page-container">
<style>
.layui-form-label{width:120px;}
.layui-input-block{margin-left: 150px;}
</style>
	<form class="layui-form" action="">
	<{volist name='list' id='v'}>
	  <div class="layui-form-item">
	    <label class="layui-form-label" _title='<{$v['k']}>'><{$v['d']}></label>
	    <div class="layui-input-block">
	    	<{switch name="v.type"}>
	    		<{case value="input"}><input type="text" class="layui-input" _url='<{:url('c/edit')}>' _t='sys' _id='<{$v['id']}>' _f='v' onchange="c_change(this)" value="<{$v['v']}>" ><{/case}>
	    		<{case value="file"}>
					<input type="file" name="file" lay-type="file" _url="<{:url('sys/upfile','id='.$v['id'])}>" onclick="c_up(this,'add')">
					<span _span="<{$v['id']}>">
					<{if $v['v']}>
						<img src="\<{$v['v']}>" height=50 />
					<{/if}>
					</span>
				<{/case}>
	    		<{case value="textarea"}>
	    			<textarea  _url='<{:url('c/edit')}>' _t='sys' _id='<{$v['id']}>' _f='v' onchange="c_change(this)" placeholder="请输入内容" class="layui-textarea"><{$v['v']}></textarea>
				<{/case}>
	    	<{/switch}>
	    </div>
	  </div>
	<{/volist}>	  
	</form>
</article>